TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt

SOURCES += main.c \
    echo_server.c

include(deployment.pri)
qtcAddDeployment()


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../../../usr/local/Cellar/libevent/2.0.22/lib/release/ -levent
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../../../usr/local/Cellar/libevent/2.0.22/lib/debug/ -levent
else:unix: LIBS += -L/usr/local/Cellar/libevent/2.0.22/lib/ -levent

INCLUDEPATH += /usr/local/Cellar/libevent/2.0.22/include
DEPENDPATH +=/usr/local/Cellar/libevent/2.0.22/include

win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../../../../../usr/local/Cellar/libevent/2.0.22/lib/release/libevent.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../../../../../usr/local/Cellar/libevent/2.0.22/lib/debug/libevent.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../../../../../usr/local/Cellar/libevent/2.0.22/lib/release/event.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../../../../../usr/local/Cellar/libevent/2.0.22/lib/debug/event.lib
else:unix: PRE_TARGETDEPS += /usr/local/Cellar/libevent/2.0.22/lib/libevent.a
